home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / Beginners guide / Beginners Mac Assembly - ed.srd / Beginners Mac Assembly - ed.srd.rsrc / PICT_54.png < prev    next >
Portable Network Graphic  |  1996-08-28  |  112KB  |  816x1056  |  8-bit (256 colors)
OCR: Wed Aug2MPNV #379 DOBeginners Guide To Macintosh Assembly Language Programming age BLE CURSOR ON PAGE NO ITHASNT **CURSOR OFF BOTTOM OF WINDOW MOVE.I SCROL LHND( A6),-(SP) MOVE.I CURTOP(A6),D1 ADDI #PAGEL INES-1,D1 MOVE.W D1 -SP) DC SETCTLVALUE FLICK DOWN ONE PAGE BSR SCROLI **NOW LET SC ROLL BAR KNOW HOW MANY LINES THERE ARE CURSOR ON PAGE MOVEJ SCROLLHND( A6), (SP) MOVE. NUMBL INES A6)-(SP) DC SETCTLMAX SET T SCROLL BAR MAX NUMBER OF LINES CL DO RETURN 0 RTS Section 5c normal key processes keyboard presses First the character is printed in the editor window by putachar, which prints the character in the editor window. Then we set a flag called dirty This tefls our that this file has been i modified, so when we quit 10 close the window IO open .another the program can remind u.s that this ...